package com.stx.bigviewdemo;

import java.io.IOException;

import android.app.Activity;
import android.os.Bundle;

public class MainActivity extends Activity {
	
	private BigView	bigView;
	
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        bigView = (BigView)findViewById(R.id.imgBv);
        try {
			bigView.setImage(getAssets().open("2.jpg"));
		} catch (IOException e) {
			e.printStackTrace();
		}
    }
    
}



